package com.woniuxy.redenvelope.mapper;
import com.woniuxy.redenvelope.entity.Record;
import com.woniuxy.redenvelope.vo.AddKillVo;
import com.woniuxy.redenvelope.vo.RecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RecordMapper {
        List<RecordVo> findAll(String name);

        boolean existsByUidAndPid(RecordVo recordVo);

        //修改状态
        void updateStatus(@Param("pid") Integer pid,@Param("state") String state);




}
